package lagou_1;
/*
 * 1、双色球抽奖游戏
 */
import java.util.Arrays;
import java.util.Random;

public class UnionLotto {
	public static void main(String[] args) {
		int[] arr = new int[7];
		int j = 0;
		Random random = null;
		//随机生成1~33之间6个号码
		for(int i = 0;i < 6;i++) {
			random = new Random();
			arr[j++] = random.nextInt(33)+1;
		}
		//生成篮球中的号码
		arr[j] = random.nextInt(16)+1;
		System.out.print(Arrays.toString(arr));
	}

}
